import Vue from 'vue'
import App from './App'
import i18n from './i18n'
import store from './store'
import router from './router'
import '@/vab'
import Print from 'vue-print-nb'
import clipboard from 'clipboard'
import GoEasy from 'goeasy'

Vue.config.productionTip = false

const goEasy = GoEasy.getInstance({
  host: 'hangzhou.goeasy.io', //应用所在的区域地址: 【hangzhou.goeasy.io |singapore.goeasy.io】
  appkey: 'BC-f30a976691b3417d857ff5b8902264b6', // common key
  modules: ['pubsub'],
})

Vue.prototype.goEasy = goEasy
Vue.prototype.pubsub = goEasy.pubsub

//import echarts from 'echarts'
//Vue.use(Print, echarts) //注册
Vue.use(Print) //注册

Vue.prototype.clipboard = clipboard
Vue.config.productionTip = false
new Vue({
  el: '#app',
  i18n,
  store,
  router,
  render: (h) => h(App),
})
